and 'private' labels limit access to the members and thus define the interface to objects of 'class' type. The 'friend' specifier gives further control over member scope.
Current versions of C++ allows pointers to member functions, a feature not yet implemented in Think C 4.0.
With version 2.0, C++ offers "multiple inheritance", where a derived class may inherit members from more than one base class.
C++ also offers several advances over ANSI C which are not directly related to object-oriented programming, as follows:
In C++ declarations may occur anywhere within a function, rather than preceding all executable statements as in ANSI C. This encourages the declaration of variables immediately prior to their point of use.
C++ provides function and operator "overloading"; that is, a function or operator may be defined to operate in a way which depends upon the context in which it is used.